package com.feri.fitness.cs.service.intf;

import com.feri.fitness.common.dto.MoodAddDto;
import com.feri.fitness.common.dto.MoodRefwordDto;
import com.feri.fitness.common.vo.R;
import com.feri.fitness.cs.domain.Mood;
import com.feri.fitness.cs.exception.MoodException;

/**
 * 千锋郑州Java学科欢迎你
 * @program: Fitness
 * @description: 业务接口层
 * @author: Feri
 * @create: 2023-01-12 08:59:28
 */
public interface MoodService {
    /**
     * 1.发布动态*/
    R save(MoodAddDto dto,int uid);
    /**
     * 2.转发动态*/
    R refword(MoodRefwordDto dto, int uid);
    /**
     * 2.查询-热门*/
    R queryHot();
    /**
     * 3.查询-关注*/
    R queryFollow(int uid);
    /**
     * 4.查询-同城*/
    R queryCity(String city);

    /**
     * 5.查询-详情 多表联查*/
    R query(int id);

    /**
     * 6.删除动态 假删除*/
    R del(int mid) throws MoodException;
}